﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PKTools.Database;
using PKTools.Scheduler;
using ServiceStack.Text;

namespace Scheduler
{
    partial class JobSchedule
    {
        [Skip]
        public Schedule Schedule
        {
            set { this.Properties = JsonSerializer.SerializeToString(value); }
            get { return JsonSerializer.DeserializeFromString<Schedule>(this.Properties); }
        }
    }
}
